Skip to content

Conversation

@retronym
Copy link
Member

@retronym retronym commented Jun 5, 2015

I'm trying to use this library to help with some Java8 code written on top of the Spark API. I'm using a spark library that takes scala Function1s. Unfortunately, I cannot use the scala-java8-compat library because the bridge interface does not extend Serializable and for a java8 lambda to be serializable the target type has to be serializable: http://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html#serialization

@retronym
Copy link
Member

retronym commented Jun 5, 2015

[Converted issue to a pull request]

@punya
Copy link

punya commented Jun 11, 2015

This would be really useful to me, for the same reason.

@retronym retronym added this to the 0.5.0 milestone Jul 28, 2015
@retronym retronym self-assigned this Jul 28, 2015
retronym added a commit that referenced this pull request Jul 28, 2015
Make bridge interfaces implement serializable
@retronym retronym merged commit 9ef565f into scala:master Jul 28, 2015
@retronym retronym modified the milestones: 0.5.0, 0.6.0 Aug 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants